<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<script>
			
			function foo1()
			{
				console.log("foo1");
			}
			foo1();
			
			function foo2(a,b)
			{
				return a+b;
			}
			console.log("foo2:"+foo2(10,20));
			
			var foo3 = function(a,b)
			{
				return a+b;
			}
			console.log("foo3:"+foo3(10,20));
			
			
			
		</script>
	</body>
</html>